package com.qianji.petmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qianji.common.utils.PageUtils;
import com.qianji.petmall.product.entity.AttrGroupEntity;
import com.qianji.petmall.product.vo.AttrGroupWithAttrsVo;
import com.qianji.petmall.product.vo.SpuItemAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author xiaoxin
 * @email 485350978@qq.com
 * @date 2022-01-07 14:35:43
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<SpuItemAttrGroupVo> selectAttrGroup(Long spuId, Long catalogId);

    List<AttrGroupWithAttrsVo> selectWithAttrByCatelogId(Long catelogId);

    PageUtils queryPageList(Map<String, Object> params, Long catId);
}

